#ifndef __KEYBOARD_H
#define __KEYBOARD_H

typedef void (*kbcallback)(char*);

#endif

char getch_keys_gets();
char getch_keys();
char *gets(char *buf);
static void write_kbd(unsigned adr, unsigned data);
unsigned convert(unsigned key);
void kb_main();
u32int term_handle(int type, u32int d2, u32int d3);
long kb_install();
long kb_uninstall();

void kb_read(char *prompt, kbcallback callb);

void kb_enable();
void kb_disable();

